﻿//using Abp.Dapper;
//using Abp.EntityFrameworkCore;
//using Abp.Modules;
//using Abp.Reflection.Extensions;
//using Camc.Quality.BomChange;
//using DapperExtensions.Mapper;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Reflection;
//using System.Text;
//using System.Threading.Tasks;

//namespace Camc.Quality
//{
//    [DependsOn(
//     typeof(AbpEntityFrameworkCoreModule),
//     typeof(AbpDapperModule)
//)]
//    public  class EFArticle: AbpModule
//    {
//        public override void Initialize()
//        {
//            IocManager.RegisterAssemblyByConvention(typeof(ceshi).GetAssembly());
//            //这里会自动去扫描程序集中配置好的映射关系
//            DapperExtensions.DapperExtensions.SetMappingAssemblies(new List<Assembly> { typeof(EFArticle).GetAssembly() });
//        }
//    }
//    public class PersonMapper : ClassMapper<ceshi>
//    {
//        public PersonMapper()
//        {
//            Table("ceshi");
//            Map(x => x.name).Ignore();
//            AutoMap();
//        }
//    }
    
//}
//public class ceshi
//{
//    public string name { get; set; }
//}
